import request from '@/utils/request'

// 查询报名登记学生列表
export function listSignStudent(query) {
  return request({
    url: '/signStudent/signStudent/list',
    method: 'get',
    params: query
  })
}

// 查询报名登记学生详细
export function getSignStudent(id) {
  return request({
    url: '/signStudent/signStudent/' + id,
    method: 'get'
  })
}

// 新增报名登记学生
export function addSignStudent(data) {
  return request({
    url: '/signStudent/signStudent',
    method: 'post',
    data: data
  })
}

// 修改报名登记学生
export function updateSignStudent(data) {
  return request({
    url: '/signStudent/signStudent',
    method: 'put',
    data: data
  })
}

// 删除报名登记学生
export function delSignStudent(id) {
  return request({
    url: '/signStudent/signStudent/' + id,
    method: 'delete'
  })
}
